allofit(vals,inds,a,b,c,d,vvals,iinds,e,f,g,h)
return 1+(2*((-vals[inds[a]])+(vals[-inds[a+10]])+(vals[inds[-b]])))+(3*((-vvals[inds[a]])+(vvals[-inds[a+10]])+(vvals[inds[-b]])))+(4*((-vals[iinds[a]])+(vals[-iinds[a+10]])+(vals[iinds[-b]])))+(5*((-vvals[iinds[a]])+(vvals[-iinds[a+10]])+(vvals[iinds[-b]])))+(6*((-vals[inds[e]])+(vals[-inds[e+10]])+(vals[inds[-f]])))+(7*((-vvals[inds[e]])+(vvals[-inds[e+10]])+(vvals[inds[-f]])))+(8*((-vals[iinds[e]])+(vals[-iinds[e+10]])+(vals[iinds[-f]])))+(9*((-vvals[iinds[e]])+(vvals[-iinds[e+10]])+(vvals[iinds[-b]])))+(10*((vvals[a]*10*11*vals[e])+(-((vals[a]*2*vvals[e])+(vvals[a]*2*vals[e])))+(4*vals[a]*vvals[e]*5)))+(a*b*2*3*c*d*vals[a]*vvals[e]*e*f*g*h);
end;
